const mongoose = require('mongoose');
const { ObjectId } = mongoose.Schema;

/**
 * Export model definition object.
 */
module.exports = {
  updatedAt: { type: Date, index: { expireAfterSeconds: 60 } },
  userId: {
    type: ObjectId,
  },
  uuid: {
    type: String,
    unique: true,
  },
};
